package com.tf_cut.admin.sys.sysuser.service;

import com.tf_cut.admin.common.pojo.Result;
import com.tf_cut.admin.common.service.CommonService;
import com.tf_cut.admin.sys.sysuser.pojo.SysUser;
import com.tf_cut.admin.sys.sysuser.vo.SysUserVo;

public interface SysUserService extends CommonService<SysUserVo, SysUser, String> {
    Result<SysUserVo> findByLoginName(String username);
    Result<SysUserVo> resetPassword(String userId);

    Result<SysUserVo> initUser(String userName,String loginName,String platform);
    
    SysUser queryAppKey(String loginId);
    
    Integer queryByLoginName(String username);
    
    SysUser queryByMobile(String mobile);
	
	String findByPersonId(String mobile);
	
	int findByMobile(String sellerMobile);
}
